package com.dkd.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;

/**
 * 学生成绩对象 sys_scores
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
public class SysScores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成绩ID */
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 平时成绩 */
    @Excel(name = "平时成绩")
    private BigDecimal regularScore;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private BigDecimal examScore;

    /** 总评成绩 */
    @Excel(name = "总评成绩")
    private BigDecimal totalScore;

    /** 绩点 */
    @Excel(name = "绩点")
    private BigDecimal gradePoint;

    /** 班级排名 */
    @Excel(name = "班级排名")
    private Long ranking;

    /** 评语 */
    @Excel(name = "评语")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setRegularScore(BigDecimal regularScore) 
    {
        this.regularScore = regularScore;
    }

    public BigDecimal getRegularScore() 
    {
        return regularScore;
    }
    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }
    public void setTotalScore(BigDecimal totalScore) 
    {
        this.totalScore = totalScore;
    }

    public BigDecimal getTotalScore() 
    {
        return totalScore;
    }
    public void setGradePoint(BigDecimal gradePoint) 
    {
        this.gradePoint = gradePoint;
    }

    public BigDecimal getGradePoint() 
    {
        return gradePoint;
    }
    public void setRanking(Long ranking) 
    {
        this.ranking = ranking;
    }

    public Long getRanking() 
    {
        return ranking;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("courseId", getCourseId())
            .append("regularScore", getRegularScore())
            .append("examScore", getExamScore())
            .append("totalScore", getTotalScore())
            .append("gradePoint", getGradePoint())
            .append("ranking", getRanking())
            .append("comment", getComment())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
